package com.csair.irp.job.file.task;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author magicY
 * @since 2017-07-10
 */
@TableName("t_file_baseinfo")
@Data
@ToString
@EqualsAndHashCode(callSuper = false)
public class FileBaseinfoPO extends Model<FileBaseinfoPO> {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String dataResourceType;

    private String dataFileClass;

    private String gatewayType;

    private int dataFileType;

    private String filePath;

    private String filePrefix;
    /**
     * 状态,1:在线,0:下线
     */
    private Integer status;

    private String dataFilePath;

    private String beanId;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
